package com.michael.skiplist;


import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class SkipListLevel {
    private SkipListNode forward;
    private int span;
    public void incrSpan(){
        this.span++;
    }
    public void decrSpan(){
        this.span--;
    }

    public SkipListNode getForward() {
        return forward;
    }

    public void setForward(SkipListNode forward) {
        this.forward = forward;
    }

    public int getSpan() {
        return span;
    }

    public void setSpan(int span) {
        this.span = span;
    }
}
